﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kaixin.Components.Tycoon.DTO;

namespace Kaixin.Components.Tycoon.DAL
{

    abstract class PersistenceFactory
    {
        private static Persistence<Goods> _gp = new GoodsDAL();

        private static Persistence<Orders> _op = new OrdersDAL();

        public static Persistence<Goods> GoodsDAL { get { return _gp; } }
        public static Persistence<Orders> OrdersDAL { get { return _op; } }
    }
}
